<template>
	<div id="items">
		<MyItem v-for="itemObj in items" :itemObj="itemObj" :key="itemObj.id" />
	</div>
</template>

<script>
	import MyItem from './Item.vue'

	export default {
		name: 'MyItems',
		components: {
			MyItem,
		},
		props:['items'],
	}
</script>
<style>
	#items{
		border: 1px solid gray;
		margin: auto;
		width: 200px;
		padding: 5px;
	}
</style>
